package com.iotechn.unimall.data.enums;

///**
//	 * 子类型(1:邀请好友 2:签到 3:分享 4:充值  5:消费 6:兑换商品 7:兑换优惠券)
//	 */
//    @TableField("son_type")  IntegralSonType.GOODS.getCode()
//    private Long sonType;
public enum IntegralSonType {
    SHARE(1, "分享"),
    INVITE(2, "邀请好友"),
    SIGN(3, "签到"),
    FEE(4, "消费"),
    CHARGE(5, "充值"),
    REGIST(6,"注册"),
    GOODS(7, "兑换商品"),
    COUPON(8, "兑换优惠券"),
    COMMENT(9, "评论得积分"),
    TURNTABLEREWARD(10, "转盘奖励"),
    RETURNORDER(11, "退单扣减")
    ;



    private int code;

    private String msg;

    IntegralSonType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }


    public String getMsg() {
        return msg;
    }
}
